package com.gang.mars.basic.function;

import java.util.function.Supplier;

/**
 * @author gang.chen
 * @description
 * @Date 2021/7/16 15:14
 */
public class Peach09 {

    public static void main(String[] args) {
        Peach09.get(()->{
            return new String("gang.chen");
        });
    }

    public static String get(Supplier<String> supplier){
        String s = supplier.get();
        return s;
    }
}
